
import { createStore } from "redux"
import reducer from "./reducer"

// 创建的store, 内部会自动回调reducer, 拿到initialState
const store = createStore(reducer)

// 导出store
export default store
